package org.myspringframework.springboot001.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.myspringframework.springboot001.bean.User;

/**
* @author        fzy
* @version       1.0
* 创建时间：       2024-09-23 18:13
*/  

@Mapper
public interface UserMapper {
    @Select("select * from user where id = #{id}")
    User selectById(Integer id);
}
